package com.serverTechnology.teamsGroups.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.serverTechnology.teamsGroups.entity.dto.*;

import com.serverTechnology.teamsGroups.entity.ProModel;
import com.serverTechnology.teamsGroups.entity.vo.ProModelVo;
import com.serverTechnology.teamsGroups.entity.dto.*;
import com.serverTechnology.teamsGroups.entity.vo.DeviceTreeVo;
import com.serverTechnology.teamsGroups.entity.vo.ProModelVo;


import java.util.List;

public interface ProModelService extends IService<ProModel> {
    /**
     * 添加产线模型
     * @param proModel
     */
    void add(ProModelAddDto proModel);

    /**
     * 修改产线模型
     * @param proModel
     */
    void edit(ProModelEditDto proModel);

    /**
     * 查询产线模型详情
     * @param id
     * @return
     */
    Object sel(Long id);

    /**
     * 删除产线模型
     * @param id
     */
    void del(Long id);

    /**
     * 查询产线模型列表
     * @param proModel
     * @return
     */
    List<ProModelVo> pages(ProModelDto proModel);

    /**
     * 添加设备工具配置
     * @param proModel
     */
    void saves(ProDeviceToolUserAddDto proModel);

    /**
     * 查询产线模型设备工具配置列表
     * @return
     */
    List<ProModelVo> pageDevice(ProDeviceToolUserSeleDeviceDto proModelTool);

    /**
     *  设备菜单树
     * @return
     */
    List<DeviceTreeVo> getDeviceTree();

    /**
     *  工具菜单树
     * @return
     */
    List<DeviceTreeVo> getToolTree();
}
